/* 初始化样式 */
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font:normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x:hidden;
    -webkit-tap-highlight-color: transparent;
} 
/* 特殊样式 */
* {
    /* CSS3 盒子模型 */
    box-sizing: border-box;
    /* 点击高亮我们需要清除掉 设置为transparent完成透明效果 */
    -webkit-tap-highlight-color: transparent;
    /* 在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式 */
}
input {
    -webkit-appearance: none;
}
/* 禁用长按页面时的弹出菜单 */
img a {
    -webkit-touch-callout: none;
}

/* 搜索区域 */
.search-index {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 44px;
    padding-left: 12px;
    box-sizing: border-box;
    align-items: center;
    /* background-color: pink; */
    background-image: linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0));
    z-index: 9999;
}
.search-index .search {
    display: flex;
    flex: 1;
    height: 28px;
    padding: 2px 5px;
    border-radius: 16px;
    box-sizing: border-box;
    background-color: #fff;
    align-items: center;
}
.search-index .search span {
    position: relative;
    padding-left: 35px;
    line-height: 18px;
    font-size: 15px;
}
.search-index .search span::after {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background:url(../images/sprite.png) 0 0;
    background-size:21px auto;
}
.search-index .login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 44px;
    padding-right: 4px;
    /* background-color: skyblue; */
}
.search-index .login span {
    color: #fff;
    font-size: 12px;
    line-height: 12px;
}
.search-index .login span::before {
    content: '';
    display: block;
    margin: auto;
    margin-bottom: 2px;
    width: 21px;
    height: 21px;
    background:url(../images/sprite.png) 0px -36px;
    background-size: 21px auto;
}
/* 焦点图部分 */
.focus {
    width: 100%;
    padding: 0 25%;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    transform: translateX(-16.6%);
    box-sizing: content-box;
    overflow: hidden;
}
.focus::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background-image: linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0));
}
.focus a {
    display: block;
}
.focus a img {
    display: block;
    width: 100%;
}

/* localnav开始 */
.localnav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 64px;
    margin: -52px 12px 10px;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
    border-radius: 8px;
    padding: 4px 0 8px;
}
.localnav li {
    flex: 1;
}
.localnav li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: black;
    text-decoration:none;
}
.localnav li a i {
    display: block;
    width: 40px;
    height: 40px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 40px auto;
}
.localnav li:nth-child(1) a i {
    background-position: 0 0;
}
.localnav li:nth-child(2) a i {
    background-position: 0 -40px;
}
.localnav li:nth-child(3) a i {
    background-position: 0 -80px;
}
.localnav li:nth-child(4) a i {
    background-position: 0 -120px;
}
.localnav li:nth-child(5) a i {
    background-position: 0 -160px;
}

.localnav li a span {
    font-size: 12px;
}

/* 主导航区域 */
.nav {
    margin: 0 12px;
    border-radius: 8px;
    overflow: hidden;
}
.nav .navcommon:nth-child(1) {
    display: flex;
    background-image: linear-gradient(to right, #FA5956, #FB8550 55%, #FFBC49 55%, #FFD152);
}
.nav .navcommon:nth-child(2) {
    display: flex;
    background-image: linear-gradient(to right, #4b8fed, #53bced);
}
.nav .navcommon:nth-child(3) {
    display: flex;
    background-image: linear-gradient(to right, #35C3AA, #6AD45B);
}
.nav .navcommon a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    color: white;
    text-decoration: none;
    padding: 15.6px 0;
    border-bottom:1px solid white;
}
.nav .navcommon a:nth-child(1) {
    justify-content: left;
}
.nav .navcommon:nth-child(1) a:nth-child(1) {
    flex: 1.347;
    padding-left: 12px;
    background: url(../images/hotel.png) no-repeat right bottom;
    background-size: 73px auto;
}
.nav .navcommon:nth-child(1) a:nth-child(2) {
    background: url(../images/minsu.png) no-repeat left bottom;
    background-size: auto 20px;
}
.nav .navcommon:nth-child(2) a:nth-child(1) {
    flex: 1.347;
    padding-left: 12px;
    background: url(../images/flight.png) no-repeat right bottom;
    background-size: auto 34px;
}
.nav .navcommon:nth-child(2) a:nth-child(2) {
    background: url(../images/train.png) no-repeat left bottom;
    background-size: auto 26.5px;
}
.nav .navcommon:nth-child(3) a:nth-child(1) {
    flex: 1.347;
    padding-left: 12px;
    background: url(../images/travel.png) no-repeat right bottom;
    background-size: auto 47px;
}
.nav .navcommon:nth-child(3) a:nth-child(2) {
    background: url(../images/dingzhi.png) no-repeat left bottom;
    background-size: 61px auto;
}
.nav .navcommon:nth-child(1) a:nth-child(3) {
    background:url(../images/hot_sale.png) no-repeat right bottom;
    background-size: 100% auto;
}
.nav .navcommon a:nth-child(n+2) {
    flex: 1;
    text-align: center;
    border-left: 1px solid white;
}
.nav .navcommon:nth-child(3) a {
    border-bottom: 0;
}
.nav .navcommon:nth-child(1) a:nth-child(3) {
    flex: 2;
    padding-left: 1px;
}
/* 底部导航开始 */
.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 12px;
    padding: 0 0 10px;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: black;
    text-decoration: none;
    font-size: 12px;
}
.subnav-entry li {
    width: 20%;
}
.subnav-entry li a i {
    width: 28px;
    height: 28px;
    margin: 10px 0 5px;
    background:url(../images/subnav-bg.png) no-repeat;
    background-size: 24px auto;
}
.subnav-entry li:nth-child(1) a i {
    background-position: 6px -137px;
}
.subnav-entry li:nth-child(2) a i {
    background-position: 3px 6px;
}
.subnav-entry li:nth-child(3) a i {
    background-position: 5px -20px;
}
.subnav-entry li:nth-child(4) a i {
    background-position: 4px -270px;
}
.subnav-entry li:nth-child(5) a i {
    background-position: 4px -80px;
}
.subnav-entry li:nth-child(6) a i {
    background-position: 0px -217px;
}
.subnav-entry li:nth-child(7) a i {
    background-position: 4px -106px;
}
.subnav-entry li:nth-child(8) a i {
    background-position: 4px -191px;
}
.subnav-entry li:nth-child(9) a i {
    background-position: 4px -164px;
}
.subnav-entry li:nth-child(10) a i {
    background-position: 4px -242px;
}

/* 热门活动区域 */
.sales-box {
    border-top: 1px solid #dbdbdb;
}
.sales-box .sales-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    padding: 0 8px 1px;
    border-bottom: 1px solid #dbdbdb;
    background-color: #fff;
}
.sales-box .sales-hd a {
    color: black;
    text-decoration: none;
}
.sales-box .sales-hd h2 {
    position: relative;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) 0 -19px;
    background-size: 79px auto;
    margin: 0;
    padding: 0;
}
.sales-box .sales-hd h2 i {
    position:absolute;
    right: -40px;
    width: 34px;
    height: 15px;
    background:url(../images/icon-gg@2x.png) no-repeat 0 0;
    background-size: 36px auto;
}
.sales-box .sales-hd .more {
    position: relative;
    height: 20px;
    color: #fff;
    font-size:12px;
    line-height: 20px;
    padding: 0 18px 0 12px;
    border-radius: 10px;
    background-image: linear-gradient(to right, #dc5569, #e068c4);
}
.sales-box .sales-hd .more::after {
    position: absolute;
    right: 9px;
    top: 6px;
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top:2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);

}
.sales-box .sales-bd {
    display: flex;
}
.sales-box .sales-bd a {
    position: relative;
    flex: 1;
    border-top: 2px solid #f2f2f2;
    border-bottom: 1px solid #fafafa;
}
.sales-box .sales-bd a:nth-child(1) {
    border-right: 2px solid #fafafa;
}
.sales-box .sales-bd a img {
    display: block;
    width: 100%;
}
.sales-box .sales-bd a span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 14px;
    line-height: 14px;
    background-color: #b3b3b3;
    border-radius: 4px;
    color: white;
    font-size: 12px;
}

/* toolbox部分 */
.toolbox {
    display: flex;
    justify-items: center;
    align-items: center;
    height: 60px;
    list-style: none;
    padding: 1px 0 5px;
    background-color: #fff;
    border-top:1px solid #DBDBDB ;
    border-bottom:1px solid #DBDBDB ;
}
.toolbox li {
    width:33.3%;
}
.toolbox a {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    width: 100%;
    text-decoration:none;
    color: #000;
    font-size: 12px;
    padding: 10px 0;
}
.toolbox li a i {
    width: 20px;
    height: 20px;
    margin-bottom:2px;
}
.toolbox li:nth-child(1) a i {
    background-image: url(../images/dianhua.png);
    background-size: 100%;
}
.toolbox li:nth-child(2) a i {
    background-image: url(../images/xiazai.png);
    background-size: 100%;
}
.toolbox li:nth-child(3) a i {
    background-image: url(../images/yonghu.png);
    background-size: 100%;
}
.toolbox a span{
    height: 18px;
    line-height: 18px;
}

/* 版权部分 */
.copywrite {
    height: 118px;
}
.copywrite a{
    color: black;
    text-decoration:none;
}
.copywrite .copy-function {
    color: #666;
    font-size: 12px;
    text-align: center;
}
.copywrite .copy-function a:nth-child(3) {
    position: relative;
    text-align: left;
    display: inline-block;
    width: 80px;
}
.copywrite .copy-function a:nth-child(3) i {
    position:absolute;
    right: 4px;
    top: 5px;
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(135deg);
}
.copywrite .copy-main {
    color: #999;
    font-size: 12px;
    text-align: center;
    padding: 5px 0;
}
